Test Results - sandbox_common_test

All Test Modules | GitHub Repository | Coverage Reports Designed for use with JUnit.

Summary

99.2%
Tests Failures Errors Skipped Success rate Time
250 0 0 2 99.20% 5.093
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase AstProcessorBuilder Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Data Collection with ReferenceHolder πŸ“Š

Name Status Type Time(s)
Collects nodes in ReferenceHolder πŸ”— Success 0.009
Accumulates data across multiple node types πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Factory Methods πŸ“Š

Name Status Type Time(s)
with(ReferenceHolder) creates builder πŸ”— Success 0.000
with(ReferenceHolder, Set) creates builder with custom node set πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Fluent API Chaining πŸ“Š

Name Status Type Time(s)
Multiple visitors can be chained πŸ”— Success 0.003
Builder returns itself for chaining πŸ”— Success 0.003
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onAssignment() πŸ“Š

Name Status Type Time(s)
Finds assignments πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onEnhancedForStatement() πŸ“Š

Name Status Type Time(s)
Finds enhanced for loops πŸ”— Success 0.001
Provides access to loop variable πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onIfStatement() πŸ“Š

Name Status Type Time(s)
Finds if statements πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodDeclaration() πŸ“Š

Name Status Type Time(s)
Finds all method declarations πŸ”— Success 0.006
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodInvocation() πŸ“Š

Name Status Type Time(s)
Filters by method name πŸ”— Success 0.001
Finds all method invocations πŸ”— Success 0.003
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onReturnStatement() πŸ“Š

Name Status Type Time(s)
Finds return statements πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onTypeDeclaration() πŸ“Š

Name Status Type Time(s)
Finds type declarations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onVariableDeclarationFragment() πŸ“Š

Name Status Type Time(s)
Finds variable declarations πŸ”— Success 0.002
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests processor() Access πŸ“Š

Name Status Type Time(s)
processor() provides access to underlying ASTProcessor πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase ExpressionHelper Tests createNegatedExpression() πŸ“Š

Name Status Type Time(s)
Negates simple name without parentheses πŸ”— Success 0.001
null AST throws exception πŸ”— Success 0.001
Negates infix expression with parentheses πŸ”— Success 0.003
null condition throws exception πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests isIdentityMapping() πŸ“Š

Name Status Type Time(s)
SimpleName not matching varName is not identity πŸ”— Success 0.000
SimpleName matching varName is identity πŸ”— Success 0.001
InfixExpression is not identity πŸ”— Success 0.009
null varName returns false πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests isNegatedExpression() πŸ“Š

Name Status Type Time(s)
SimpleName is not negated πŸ”— Success 0.000
PrefixExpression with MINUS is not negated πŸ”— Success 0.001
PrefixExpression with NOT is negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests needsParentheses() πŸ“Š

Name Status Type Time(s)
SimpleName does not need parentheses πŸ”— Success 0.000
InfixExpression needs parentheses πŸ”— Success 0.001
null input throws exception πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests stripNegation() πŸ“Š

Name Status Type Time(s)
Strips negation from PrefixExpression with NOT πŸ”— Success 0.001
Returns original if not negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests AnnotationVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: processEach without compilationUnit should throw πŸ”— Success 0.001
Collect annotations using collect() method πŸ”— Success 0.016
Find @SuppressWarnings annotations (SingleMemberAnnotation) πŸ”— Success 0.014
Find @Override annotations πŸ”— Success 0.012
Find @Deprecated annotations by fully qualified name πŸ”— Success 0.007
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests FieldVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: FieldVisitorBuilder requires both annotation and type πŸ”— Success 0.027
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ImportVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find static imports πŸ”— Success 0.008
Find regular imports πŸ”— Success 0.013
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests MethodCallVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find single method call πŸ”— Success 0.009
Collect method calls using collect() πŸ”— Success 0.009
Find multiple method calls πŸ”— Success 0.012
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests Processing Control Tests πŸ“Š

Name Status Type Time(s)
Early termination when processor returns false πŸ”— Success 0.013
Excluding processed nodes πŸ”— Success 0.011
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ReferenceHolder Integration Tests πŸ“Š

Name Status Type Time(s)
ReferenceHolder can be used to collect data πŸ”— Success 0.011
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest ReferenceHolder Correctness Tests πŸ“Š

Name Status Type Time(s)
Multiple nodes are correctly stored in ReferenceHolder πŸ”— Success 0.033
ReferenceHolder is correctly populated in processEach and accessible afterwards πŸ”— Success 0.011
ReferenceHolder.get() returns null for non-existent key - edge case from PR #494 πŸ”— Success 0.015
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest collect() Tests πŸ“Š

Name Status Type Time(s)
collect() gathers all found nodes πŸ”— Success 0.044
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forAnnotation() Tests πŸ“Š

Name Status Type Time(s)
forAnnotation skips already processed nodes πŸ”— Success 0.023
forAnnotation finds MarkerAnnotation and populates ReferenceHolder correctly πŸ”— Success 0.024
forAnnotation with andImports also finds imports πŸ”— Success 0.016
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forField() Tests πŸ“Š

Name Status Type Time(s)
forField with annotation finds FieldDeclaration πŸ”— Success 0.007
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forImport() Tests πŸ“Š

Name Status Type Time(s)
forImport finds ImportDeclaration and populates ReferenceHolder correctly πŸ”— Success 0.006
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forMethodCalls() Tests πŸ“Š

Name Status Type Time(s)
forMethodCalls with andStaticImports and andImportsOf πŸ”— Success 0.011
forMethodCalls finds MethodInvocation and populates ReferenceHolder correctly πŸ”— Success 0.027
Properties Β»

Back to top

TestCase LibStandardNames Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase LibStandardNames Tests Existing Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_DEFAULT_CHARSET is 'defaultCharset' πŸ”— Success 0.001
METHOD_GET_PROPERTY is 'getProperty' πŸ”— Success 0.001
METHOD_LINE_SEPARATOR is 'lineSeparator' πŸ”— Success 0.001
FIELD_UTF8 is 'UTF_8' πŸ”— Success 0.000
METHOD_TOSTRING is 'toString' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Fully Qualified Type Names πŸ“Š

Name Status Type Time(s)
JAVA_LANG_DOUBLE is 'java.lang.Double' πŸ”— Success 0.000
JAVA_LANG_STRING is 'java.lang.String' πŸ”— Success 0.000
JAVA_LANG_MATH is 'java.lang.Math' πŸ”— Success 0.000
JAVA_LANG_LONG is 'java.lang.Long' πŸ”— Success 0.000
JAVA_LANG_INTEGER is 'java.lang.Integer' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Math Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_CONCAT is 'concat' πŸ”— Success 0.003
METHOD_SUM is 'sum' πŸ”— Success 0.001
METHOD_MIN is 'min' πŸ”— Success 0.000
METHOD_MAX is 'max' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase LibStandardNames Tests Stream API Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_STREAM is 'stream' πŸ”— Success 0.000
METHOD_FOREACH is 'forEach' πŸ”— Success 0.001
METHOD_REDUCE is 'reduce' πŸ”— Success 0.003
METHOD_ANY_MATCH is 'anyMatch' πŸ”— Success 0.001
METHOD_NONE_MATCH is 'noneMatch' πŸ”— Success 0.000
METHOD_FILTER is 'filter' πŸ”— Success 0.000
METHOD_MAP is 'map' πŸ”— Success 0.000
METHOD_ALL_MATCH is 'allMatch' πŸ”— Success 0.003
METHOD_FOR_EACH_ORDERED is 'forEachOrdered' πŸ”— Success 0.001
Properties Β»

Back to top

TestCase NodeMatcher Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase NodeMatcher Tests Chaining and State Management πŸ“Š

Name Status Type Time(s)
Chaining stops after first match πŸ”— Success 0.010
isHandled() returns true after match πŸ”— Success 0.006
Properties Β»

Back to top

TestCase NodeMatcher Tests Expression Type Matchers πŸ“Š

Name Status Type Time(s)
ifPrefixIncrementOrDecrement matches decrement πŸ”— Success 0.010
ifPrefixExpression matches PrefixExpression πŸ”— Success 0.011
ifMethodInvocation matches MethodInvocation πŸ”— Success 0.008
ifSimpleName matches SimpleName πŸ”— Success 0.006
ifAssignmentWithOperator matches specific operator πŸ”— Success 0.006
ifPostfixIncrementOrDecrement matches increment πŸ”— Success 0.006
ifAssignment matches Assignment πŸ”— Success 0.009
ifMethodInvocationNamed matches by method name πŸ”— Success 0.008
ifPostfixExpression matches PostfixExpression πŸ”— Success 0.006
Properties Β»

Back to top

TestCase NodeMatcher Tests Factory Methods πŸ“Š

Name Status Type Time(s)
isHandled() returns false initially πŸ”— Success 0.007
on() creates NodeMatcher instance πŸ”— Success 0.006
Properties Β»

Back to top

TestCase NodeMatcher Tests Generic Type Matchers πŸ“Š

Name Status Type Time(s)
ifTypeMatching with predicate πŸ”— Success 0.008
ifType matches by class type πŸ”— Success 0.006
Properties Β»

Back to top

TestCase NodeMatcher Tests Statement Type Matchers πŸ“Š

Name Status Type Time(s)
ifThrowStatement matches ThrowStatement πŸ”— Success 0.008
ifReturnStatement matches ReturnStatement πŸ”— Success 0.009
ifIfStatementWithElse matches if with else πŸ”— Success 0.007
ifVariableDeclaration matches VariableDeclarationStatement πŸ”— Success 0.009
ifContinueStatement matches ContinueStatement πŸ”— Success 0.014
ifIfStatement matches IfStatement πŸ”— Success 0.006
ifBlock matches Block πŸ”— Success 0.012
ifExpressionStatement matches ExpressionStatement πŸ”— Success 0.021
ifBreakStatement matches BreakStatement πŸ”— Success 0.007
ifVariableDeclarationMatching with predicate πŸ”— Success 0.018
ifIfStatementWithoutElse matches if without else πŸ”— Success 0.008
Properties Β»

Back to top

TestCase NodeMatcher Tests Terminal Operations πŸ“Š

Name Status Type Time(s)
orElse does not execute when already handled πŸ”— Success 0.010
orElse executes when no matcher handled πŸ”— Success 0.007
orElseGet returns empty when already handled πŸ”— Success 0.008
orElseGet returns Optional when not handled πŸ”— Success 0.009
orElseDo executes runnable when not handled πŸ”— Success 0.012
Properties Β»

Back to top

TestCase NodeMatcher Tests Utility Methods πŸ“Š

Name Status Type Time(s)
isControlFlowStatement returns true for throw πŸ”— Success 0.008
isControlFlowStatement returns true for continue πŸ”— Success 0.005
getExpression returns Optional with expression πŸ”— Success 0.010
getAssignment returns empty for non-assignment πŸ”— Success 0.005
getAssignment returns Optional with assignment πŸ”— Success 0.005
isAssignmentStatement returns false for non-assignment πŸ”— Success 0.005
isControlFlowStatement returns true for return πŸ”— Success 0.006
isAssignmentStatement returns true for assignment πŸ”— Success 0.006
isControlFlowStatement returns true for break πŸ”— Success 0.006
isControlFlowStatement returns false for variable declaration πŸ”— Success 0.006
getExpression returns empty for non-expression statement πŸ”— Success 0.005
Properties Β»

Back to top

TestCase StatementContext Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase StatementContext Tests Conditional Helpers πŸ“Š

Name Status Type Time(s)
ifFirst executes for first statement πŸ”— Success 0.037
ifLast executes for last statement πŸ”— Success 0.015
ifNotLast executes for non-last statement πŸ”— Success 0.021
ifLast does not execute for non-last statement πŸ”— Success 0.015
ifOnly executes for only statement πŸ”— Success 0.011
Properties Β»

Back to top

TestCase StatementContext Tests Edge Cases πŸ“Š

Name Status Type Time(s)
Context chaining with ifLast πŸ”— Success 0.014
getRemainingCount is zero for last statement πŸ”— Success 0.007
Single statement is first, last, and only πŸ”— Success 0.008
Properties Β»

Back to top

TestCase StatementContext Tests Factory Methods πŸ“Š

Name Status Type Time(s)
processBlock allows early termination πŸ”— Success 0.011
forSingle creates context for single statement πŸ”— Success 0.010
forEachInBlock processes all statements πŸ”— Success 0.007
processBlock returns empty when no match πŸ”— Success 0.008
forStatement creates context with position info πŸ”— Success 0.010
Properties Β»

Back to top

TestCase StatementContext Tests List Operations πŸ“Š

Name Status Type Time(s)
getRemainingStatements returns empty for last statement πŸ”— Success 0.009
getPrecedingStatements returns statements before current πŸ”— Success 0.016
getRemainingStatements returns statements after current πŸ”— Success 0.007
getPrecedingStatements returns empty for first statement πŸ”— Success 0.010
Properties Β»

Back to top

TestCase StatementContext Tests Matcher Integration πŸ“Š

Name Status Type Time(s)
nextIs returns true for matching type πŸ”— Success 0.010
nextIs with predicate returns true when both match πŸ”— Success 0.033
nextMatches returns true when predicate matches πŸ”— Success 0.008
matcher returns NodeMatcher for statement πŸ”— Success 0.008
nextMatches returns false when predicate does not match πŸ”— Success 0.019
Properties Β»

Back to top

TestCase StatementContext Tests Navigation Methods πŸ“Š

Name Status Type Time(s)
getNextStatement returns next statement πŸ”— Success 0.007
getPreviousStatement returns previous statement πŸ”— Success 0.012
getPreviousStatement returns empty for first statement πŸ”— Success 0.010
getStatementAt returns empty for out of bounds πŸ”— Success 0.012
getNextStatement returns empty for last statement πŸ”— Success 0.005
getStatementAt returns statement at negative offset πŸ”— Success 0.007
getStatementAt returns statement at positive offset πŸ”— Success 0.007
Properties Β»

Back to top

TestCase StatementContext Tests Position Queries πŸ“Š

Name Status Type Time(s)
getRemainingCount returns correct count πŸ”— Success 0.007
isMiddle returns false for first statement πŸ”— Success 0.004
hasNext returns false for last statement πŸ”— Success 0.003
isOnly returns true for single statement πŸ”— Success 0.003
hasNext returns true when there are more statements πŸ”— Success 0.003
isLast returns true for last statement πŸ”— Success 0.003
isMiddle returns true for middle statement πŸ”— Success 0.006
isFirst returns false for non-first statement πŸ”— Success 0.005
isFirst returns true for first statement πŸ”— Success 0.006
hasPrevious returns true when there are previous statements πŸ”— Success 0.005
hasPrevious returns false for first statement πŸ”— Success 0.007
Properties Β»

Back to top

TestCase org.sandbox.jdt.internal.common.HelperVisitorFluentApiTest πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.TriggerPatternCleanupTest πŸ“Š

Name Status Type Time(s)
testAnnotationPatternMatching πŸ”— Success 0.624
testNoMatchesForDifferentAnnotation πŸ”— Success 0.009
testAnnotationWithQualifiedType πŸ”— Success 0.016
testMultipleAnnotationMatches πŸ”— Success 0.019
testAnnotationWithPlaceholder πŸ”— Success 0.043
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.MultiPlaceholderTest πŸ“Š

Name Status Type Time(s)
testMultiPlaceholderConsistencyCheck πŸ”— Success 0.003
testMultiPlaceholderMatchesZeroArguments πŸ”— Success 0.002
testMultiPlaceholderMatchesOneArgument πŸ”— Success 0.002
testMultiPlaceholderMatchesMultipleArguments πŸ”— Success 0.001
testMultiPlaceholderMatchesVariousArgumentTypes πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.NewPatternKindsTest πŸ“Š

Name Status Type Time(s)
testSimpleField πŸ”— Success 0.010
testFieldWithPlaceholderType πŸ”— Success 0.005
testSimpleMarkerAnnotation πŸ”— Success 0.006
testSimpleMethodCall πŸ”— Success 0.009
testSimpleImport πŸ”— Success 0.006
testMultipleImports πŸ”— Success 0.006
testFieldWithAnnotation πŸ”— Success 0.007
testMultipleAnnotationsOnSameElement πŸ”— Success 0.008
testMethodCallWithMultipleArguments πŸ”— Success 0.005
testAnnotationWithParameters πŸ”— Success 0.002
testMethodCallWithPlaceholderQualifier πŸ”— Success 0.002
testStaticImport πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PatternParserTest πŸ“Š

Name Status Type Time(s)
testParseSimpleExpression πŸ”— Success 0.003
testParsePlaceholderExpression πŸ”— Success 0.002
testParseMethodInvocation πŸ”— Success 0.002
testParseIfStatement πŸ”— Skipped
org.opentest4j.AssertionFailedError: Parser should return a non-null node ==> expected: not <null> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) at org.sandbox.jdt.triggerpattern.test.PatternParserTest.testParseIfStatement(PatternParserTest.java:73) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testParseReturnStatement πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PlaceholderMatcherTest πŸ“Š

Name Status Type Time(s)
testNonPlaceholderMustMatchExactly πŸ”— Success 0.006
testMultipleSamePlaceholdersMustMatch πŸ”— Success 0.006
testDifferentPlaceholdersBindIndependently πŸ”— Success 0.006
testPlaceholderBinds πŸ”— Success 0.006
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest πŸ“Š

Name Status Type Time(s)
testMultipleSamePlaceholder πŸ”— Success 0.017
testNoMatchesFound πŸ”— Success 0.010
testFindSingleMatch πŸ”— Success 0.008
testStatementPattern πŸ”— Skipped
org.opentest4j.AssertionFailedError: Should find one statement pattern match ==> expected: <1> but was: <0> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563) at org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest.testStatementPattern(TriggerPatternEngineTest.java:134) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testFindMultipleMatches πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTProcessorTest πŸ“Š

Name Status Type Time(s)
testAncestorNavigation πŸ”— Success 0.013
testAssignmentByOperator πŸ”— Success 0.005
testHierarchicalSearch πŸ”— Success 0.002
testInfixExpressionByOperator πŸ”— Success 0.009
testMethodDeclarationByName πŸ”— Success 0.000
testSingleVisitor πŸ”— Success 0.002
testCatchClauseByExceptionType πŸ”— Success 0.016
testFieldDeclarationByType πŸ”— Success 0.012
testClassInstanceCreationWithTypeAndNavigate πŸ”— Success 0.009
testMethodInvocationFiltering πŸ”— Success 0.001
testTypeDeclarationByName πŸ”— Success 0.001
testSuperMethodInvocationByName πŸ”— Success 0.011
testBasicChaining πŸ”— Success 0.001
testForStatementWithTypeFilter πŸ”— Success 0.015
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.AdvancedVisitorPatternsTest πŸ“Š

Name Status Type Time(s)
testCoordinatedMultiPhaseProcessing πŸ”— Success 0.022
testCombiningVisitorsWithOr πŸ”— Success 0.002
testCombiningVisitorsWithAnd πŸ”— Success 0.002
testDynamicVisitorRemoval πŸ”— Success 0.001
testTrackingProcessedNodes πŸ”— Success 0.001
testNegateFilter πŸ”— Success 0.001
testStatefulVisitorBehavior πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.BasicVisitorUsageTest πŸ“Š

Name Status Type Time(s)
testMethodNameFiltering πŸ”— Success 0.002
testMethodNameFilteringTraditional πŸ”— Success 0.000
testTraditionalVisitorApproach πŸ”— Success 0.003
testLambdaExpression πŸ”— Success 0.001
testSkipChildNodes πŸ”— Success 0.001
testMultipleNodeTypes πŸ”— Success 0.001
testVisitEndCallback πŸ”— Success 0.001
testBasicMethodReference πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.MatcherTest πŸ“Š

Name Status Type Time(s)
matcherTest πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ReferenceHolderTest πŸ“Š

Name Status Type Time(s)
testCountingWithStaticMethod πŸ”— Success 0.011
testComplexDataStructures πŸ”— Success 0.001
testCollectingNodePositions πŸ”— Success 0.004
testCountingNodes πŸ”— Success 0.006
testLazyInitialization πŸ”— Success 0.002
testSharedDataBetweenCallbacks πŸ”— Success 0.007
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorApiDocumentationTest πŸ“Š

Name Status Type Time(s)
testCallbackSignatures πŸ”— Success 0.002
testBasicUsagePattern πŸ”— Success 0.001
testVisitEndCallbacks πŸ”— Success 0.001
testApiOverview πŸ”— Success 0.007
testDataSharingPatterns πŸ”— Success 0.001
testStaticHelperMethods πŸ”— Success 0.008
testVisitorRegistration πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorTest πŸ“Š

Name Status Type Time(s)
testNestedHierarchicalSearch πŸ”— Success 0.008
testFluentApiWithMethodFiltering πŸ”— Success 0.001
testMethodInvocationByType πŸ”— Success 0.004
testMultiPhaseProcessing πŸ”— Success 0.010
testSimpleFluentApi πŸ”— Success 0.001
testDynamicVisitorModification πŸ”— Success 0.005
testFluentApiWithNavigation πŸ”— Success 0.002
testComplexDataCollection πŸ”— Success 0.007
Properties Β»

Back to top

All Test Reports | Coverage Reports | GitHub Repository

Generated by Sandbox